// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * NavSellOrderPlatform
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "nav_sell_order_platform", autoResultMap = true)
@Schema(title = "订单管理平台信息")
public class NavSellOrderPlatform implements Serializable {

  /**
   * 所属订单管理
   */
  @TableField(value = "`parent_nav_sell_order`")
  @JoinField(NavSellOrder.class)
  @Schema(title = "所属订单管理")
  private Long parentNavSellOrder;

  /**
   * 平台主键
   */
  @TableField(value = "`platform_id`")
  @Schema(title = "平台主键")
  private String platformId;

  /**
   * 平台订单号
   */
  @TableField(value = "`platform_order_id`")
  @Schema(title = "平台订单号")
  private String platformOrderId;

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 取消时间
   */
  @TableField(value = "`cancel_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "取消时间")
  private java.util.Date cancelTime;

  /**
   * 发货时间
   */
  @TableField(value = "`delivery_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "发货时间")
  private java.util.Date deliveryTime;

  /**
   * 发货时限
   */
  @TableField(value = "`latest_ship_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "发货时限")
  private java.util.Date latestShipTime;

  /**
   * 订单来源
   */
  @TableField(value = "`source`")
  @Schema(title = "订单来源")
  private String source;

  /**
   * 支付方式
   */
  @TableField(value = "`payment_way`")
  @Schema(title = "支付方式")
  private String paymentWay;

  /**
   * 平台单支付状态
   */
  @TableField(value = "`payment_status`")
  @Schema(title = "平台单支付状态")
  private String paymentStatus;

  /**
   * 支付时间
   */
  @TableField(value = "`payment_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "支付时间")
  private java.util.Date paymentTime;

  /**
   * 平台
   */
  @TableField(value = "`platform`")
  @Schema(title = "平台")
  private String platform;

  /**
   * 订购时间
   */
  @TableField(value = "`purchase_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "订购时间")
  private java.util.Date purchaseTime;

  /**
   * 平台单发货状态
   */
  @TableField(value = "`shipping_status`")
  @Schema(title = "平台单发货状态")
  private String shippingStatus;

  /**
   * 平台单状态
   */
  @TableField(value = "`status`")
  @Schema(title = "平台单状态")
  private String status;

  /**
   * 订单国家
   */
  @TableField(value = "`country`")
  @JoinField(SysCountry.class)
  @Schema(title = "订单国家")
  private Long country;

  /**
   * 承运商
   */
  @TableField(value = "`carrier`")
  @JoinField(Carrier.class)
  @Schema(title = "承运商")
  private Long carrier;

  /**
   * 标发设置编号
   */
  @TableField(value = "`issu_code`")
  @Schema(title = "标发设置编号")
  private String issuCode;

  /**
   * 配送服务
   */
  @TableField(value = "`delivery_service`")
  @Schema(title = "配送服务")
  private String deliveryService;

  /**
   * 查询地址
   */
  @TableField(value = "`search_address`")
  @Schema(title = "查询地址")
  private String searchAddress;
}
